package com.party.core.dao.write.material;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.material.MaterialMember;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: party
 * @description: 素材管理数据写入接口
 * @author: Hua Qunhao
 * @create: 2019-12-10 13:44
 **/
@Repository
public interface MaterialMemberWriteDao extends BaseWriteDao<MaterialMember> {

    void deleteByUnique(@Param("articleId") String articleId , @Param("memberId") String memberId);

    void deleteByArticleId(@Param("articleId") String articleId);
}
